package com.bdqn.t320;

import com.bdqn.t320.dao.UserDao;
import com.bdqn.t320.dao.UserDaoImp;

public class TestUserDao {

    //原来是自己主动创建userDao对象
    UserDao userDao = new UserDaoImp();

    public void addUser(){
        userDao.addUser("张三");
    }
}
